FROM ibmcom/db2:11.5.0.0a

# ADD ibm/clidriver/lib /opt/ibm/clidriver/lib
ADD db2_run1.sh            /var/custom/db2_run1.sh
# ADD container-entrypoint.sh /u01/app/oracle/
# ADD run.sh /u01/app/oracle/
# ADD instantclient /opt/instantclient/
# ADD oracle /opt/oracle/oracle

# ENV LD_LIBRARY_PATH=/opt/instantclient

# USER root

# RUN mkdir -p /usr/local/datakit/externals \
#   && chown -R oracle:dba /usr/local/datakit/externals

# USER oracle

# ENTRYPOINT ["/u01/app/oracle/container-entrypoint.sh"]
